import { GameConfig } from "./GameConfig";
import { RoomConfig } from "./RoomConfig";

export class RoomConfig_paodekuai extends RoomConfig {

    public gameType: number = GameConfig.Game_Type.paodekuai

    //人数配置
    public static renshuConfig: Array<number> = [
        2, 3, 4
    ]

    //局数配置
    public static jushuConfig: Array<number> = [
        8, 12, 16
    ]

    //局数花费钻石配置
    public static fangfeiConfig: Array<Array<number>> = [
        [20, 30, 40],
        [30, 45, 60],
        [40, 60, 80],
    ]

    //底分配置
    public static difenConfig: Array<number> = [
        1, 2, 3, 5, 10
    ]

    public firstout: number = 0;//先出
    public static firstoutNameConfig: Array<string> = [
        "每局方块3先出(先出必带方块3)", "上局赢家先出(首局方块3先出，先出必带方块3)"
    ]

    public zhadan_bei: number = 0
    public static zhadan_beiConfig: Array<number> = [
        2, 5, 10
    ]
    public static zhadan_beiName: Array<string> = [
        "炸弹翻倍", "炸弹5倍", "炸弹10倍"
    ]

    public zhadan_aaa: number = 0
    public static zhadan_aaa_nameConfig: Array<string> = [
        "AAA不算炸弹", "AAA最大炸弹"
    ]

    public zhadan_chai: number = 0; //0:炸弹不可拆 1:炸弹可拆

    public fengding: number = 0; //封顶
    public static fengding_Config: Array<number> = [
        0, 8, 10, 12
    ]
    public static fengding_nameConfig: Array<string> = [
        "无封顶", "8张封顶", "10张封顶", "12张封顶"
    ]

    public san_dai: number = 0;
    public static san_dai_nameConfig: Array<string> = [
        "三带一、三带二均可", "只准三带一", "只准三带二"
    ]

    public si_dai: number = 0;
    public static si_dai_nameConfig: Array<string> = [
        "四张不可带", "可四带二", "可四带三"
    ]

    public last_dai: number = 0 //三张，4张，飞机，最后一手牌可少带管牌
    public shengyizhang: number = 0 //剩一张不输分
    public hadHongtao10: number = 0 //有红桃10输赢翻倍
    public feibiguan: number = 0 //  0:必管 1:非必管

}